package com.quzitech.efest.utils;

import android.content.Context;
import android.util.Log;

import com.quzitech.efest.activitys.main.MainFunction;
import com.quzitech.efest.protocol.ResponseCmd;
import com.quzitech.efest.view.BatteryAmount;

public class SetBatteryReminderParamUtil {

	public static void set(String msg, BatteryAmount ba, Context context) {
		Log.v("test", msg + "------------------------------");
		switch (Integer.parseInt(String.valueOf((msg).charAt(1)))) {
		case ResponseCmd.IREMAINDER.FILL:

			((MainFunction) context).showNotification(ba.getSlotno() + "f");
			break;
		case ResponseCmd.IREMAINDER.REVERSER:
			((MainFunction) context).showNotification(ba.getSlotno() + "f");
			break;

		}

	}
}
